:root {
  --blue: #00aacb;
  --dark: #0f1113;
  --light: #ddd;

  --circle-radius: 180px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Titillium Web", sans-serif;
}

body {
  font-family: "Segoe UI", sans-serif;
  min-height: 100vh;
  background: #fff;
  color: #000;
  transition: background 0.3s, color 0.3s;
  position: relative;
}

body.dark {
  background: #212121;
  color: #eee;
}
/* الفيديو */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7;
}

/* الغلاف */
.video-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* الضباب الناعم */
.video-fog-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* أطول للذوبان السلس */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.8) 85%,
    rgba(255, 255, 255, 1) 100%
  );
  backdrop-filter: blur(1px); /* ضباب فعلي ناعم */
  z-index: 0;
  pointer-events: none;
}
body.dark .video-fog-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(33, 33, 33, 0) 0%,
    rgba(33, 33, 33, 0.2) 25%,
    rgba(33, 33, 33, 0.5) 60%,
    rgba(33, 33, 33, 0.8) 85%,
    rgba(33, 33, 33, 1) 100%
  );
  backdrop-filter: blur(1px);
  z-index: 0;
  pointer-events: none;
}
/* header*/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  z-index: 10000;
  backdrop-filter: blur(1px);
  box-sizing: border-box;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.header-left {
  flex-shrink: 0;
}
.header-center {
  justify-content: center;
  flex-grow: 1;
}
.header-right {
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 10px;
}

.contacts {
  font-size: 14px;
  color: #fff;
  display: flex;
  gap: 15px;
}

.contacts span,
.contacts a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.contacts a:hover,
.contacts span:hover {
  color: #00b7e3;
  cursor: pointer;
}

.logo img {
  width: 130px;
  filter: brightness(0) invert(1); /* أبيض */
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo img:hover {
  filter: none; /* يرجع للون الأصلي */
  transform: scale(1.05);
}

.icons {
  display: flex;
  align-items: center;
  position: relative;
  gap: 10px;
}

.toggle {
  background: #fff;
  color: #000;
  padding: 2px 25px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  height: 22px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: black;
  border-radius: 50%;
  transition: left 0.3s;
}

body.dark .toggle::before {
  left: calc(100% - 18px);
}

.toggle span {
  z-index: 2;
  position: relative;
}

.search-icon {
  width: 18px;
  height: 18px;
}

.search-icon svg {
  fill: white;
  width: 100%;
  height: 100%;
}

.linkedin-icon::before {
  content: "in";
  font-weight: bold;
  color: white;
}
@media (max-width: 768px) {
  .header-center {
    display: none;
  }

  header {
    padding: 12px 20px;
  }

  .header-left,
  .header-right {
    flex: unset;
  }

  .header-left {
    flex-basis: auto;
    justify-content: flex-start;
  }

  .header-right {
    flex-basis: auto;
    justify-content: flex-end;
    margin-left: auto;
    gap: 8px;
  }

  .logo img {
    width: 100px;
  }



  .search-icon {
    width: 16px;
    height: 16px;
  }

  .menu-icon {
    font-size: 20px;
  }
}

/* hero*/
.hero {
  margin-top: 160px;
  padding: 40px;
  color: #000;
  position: relative;
  z-index: 1;
  height: 80vh;
}

body.dark .hero {
  color: #fff;
}

.hero h1 {
  font-size: 90px;
  color: #00b7e3;
  font-weight: bold;
  margin-bottom: -30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero h2 {
  font-size: 90px;
  font-weight: 400;
  color: #111;
  margin-bottom: -20px;
}
body.dark .hero h2 {
  color: #fff;
}
.hero p {
  font-size: 25px;
  color: #444;
  line-height: 1.6;
  max-width: 1000px;
}
body.dark .hero p {
  color: #fff;
}
/* الشاشات المتوسطة */
@media (max-width: 992px) {
  .hero {
    padding: 30px 40px;
    height: auto;
  }

  .hero h1,
  .hero h2 {
    font-size: 60px;
    margin-bottom: -10px;
    text-align: center;
  }

  .hero p {
    font-size: 20px;
    text-align: center;
    padding-top: 100px;
  }
}

/* الشاشات الصغيرة */
@media (max-width: 768px) {
  .hero {
    padding: 25px 30px;
    margin-top: 60px;
    height: auto;
  }

  .hero h1,
  .hero h2 {
    font-size: 45px;
    margin-bottom: 0;
    text-align: center;
  }

  .hero p {
    font-size: 23px;
    text-align: center;
    padding-top: 100px;
  }
}

/* الشاشات الأصغر (موبايل صغير جداً) */
@media (max-width: 480px) {
  .hero {
    padding: 20px;
    margin-top:170px;
  }

  .hero h1,
  .hero h2 {
    font-size: 40px;
    text-align: center;
  }

  .hero p {
    font-size: 16px;
    text-align: center;
    padding-top: 30px;
  }
}
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #666;
  color: #fff;
  font-size: 26px;
  padding: 10px;
  border-radius: 50%;
  border: 2px solid #00b7e3;
  cursor: pointer;
  transition: 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}

.scroll-top:hover {
  background: #333;
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
  }

  .header-left,
  .header-center,
  .header-right {
    flex: 1 1 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
}

.section {
  padding: 60px 40px;
  max-width: 1500px;
  margin: auto;
  background-image: url(../img/shadow-background-white.png);
}
body.dark .section {
  background-color: #212121;
  background-image: linear-gradient(to top, #212121 0%, rgba(33, 33, 33, 0) 20%),
    linear-gradient(to bottom, #212121 0%, rgba(33, 33, 33, 0) 20%),
    linear-gradient(to left, #212121 0%, rgba(33, 33, 33, 0) 20%),
    linear-gradient(to right, #212121 0%, rgba(33, 33, 33, 0) 20%),
    url(../img/shadow-background.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.section h1 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #00bde3;
  margin-top: 10px;
}

.section h2 {
  font-size: 50px;
  font-weight: 300;
  color: #00bde3;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section p {
  font-size: 20px;
  color: #333;
  line-height: 1.7;
  margin-top: 30px;
}
body.dark .section p {
  color: #fff;
}
.cards-container {
  display: flex;
  margin-top: 100px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 300px;
  background-color: #f6f6f6;
  border: 2px solid #00bde3;
  border-radius: 18px;
  padding: 25px 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  max-width: 350px;
}
body.dark .card {
  background-color: #3c3c3c;
}
.card h3 {
  font-size: 30px;
  color: #00bde3;
  margin-bottom: 15px;
  font-weight: 600;
}

.card p {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  .section h1 {
    font-size: 30px;
  }
  .section p {
    font-size: 16px;
  }
  .card {
    max-width: 100%;
  }
}

/* شاشات متوسطة */
@media (max-width: 992px) {
  .section h1 {
    font-size: 36px;
  }

  .section h2 {
    font-size: 42px;
  }

  .card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* شاشات صغيرة */
@media (max-width: 768px) {
  .section h1 {
    font-size: 28px;
  }

  .section h2 {
    font-size: 32px;
  }

  .section p {
    font-size: 16px;
  }

  .cards-container {
    gap: 30px;
    margin-top: 60px;
  }

  .card {
    padding: 20px;
  }
}

/* شاشات أصغر من 480px */
@media (max-width: 480px) {
  .section h1,
  .section h2 {
    font-size: 24px;
  }

  .section p {
    font-size: 14px;
  }

  .card h3 {
    font-size: 22px;
  }

  .card p {
    font-size: 16px;
  }
}

.section2 {
  padding: 60px 40px;
  max-width: 2000px;
  margin: auto;
}

.section2 h1 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  position: relative;
}

/* الخط السفلي */
.section2 h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #00bde3;
  margin-top: 10px;
  margin-left: 0;
}

/* الشاشات المتوسطة (تابلت) */
@media (max-width: 991px) {
  .section2 h1 {
    font-size: 36px;
  }

  .section2 h1::after {
    width: 80px;
  }
}

/* الشاشات الصغيرة (موبايل) */
@media (max-width: 767px) {
  .section2 h1 {
    font-size: 28px;
    text-align: left;
  }

  .section2 h1::after {
    width: 60px;
  }
}

/* الشاشات الصغيرة جدًا */
@media (max-width: 480px) {
  .section2 h1 {
    font-size: 22px;
  }

  .section2 h1::after {
    width: 50px;
  }
}

.section3 h1 {
  margin-left: 50px;
  font-size: 42px;
  font-weight: 500;
  padding-top: 100px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* الشاشات المتوسطة (تابلت) */
@media (max-width: 991px) {
  .section3 h1 {
    font-size: 36px;
    margin-left: 30px;
    padding-top: 80px;
  }
}

/* الشاشات الصغيرة (موبايل) */
@media (max-width: 767px) {
  .section3 h1 {
    font-size: 28px;
    margin-left: 20px;
    padding-top: 60px;
  }
}

/* الشاشات الصغيرة جدًا */
@media (max-width: 480px) {
  .section3 h1 {
    font-size: 22px;
    margin-left: 10px;
    padding-top: 40px;
  }
}


.section3 h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #00bde3;
  margin-top: 10px;
}
.container1 {
  display: flex;
  justify-content: space-around;
  gap: 54px;
  flex-wrap: wrap;
  padding-top: 80px;
}
.container1 a{
  text-decoration: none;
}
.card1 {
  position: relative;
  width: 650px;
  height: 600px;
  border-radius: 40px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease-in-out;
}
body.dark .card1::before {
  background-color: rgba(10, 10, 10, 0.778);
  background-blend-mode: darken;
}
.card1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: lighten;
  background-color: rgba(255, 255, 255, 0.6);
  transition: transform 0.4s ease, background-color 0.4s ease;
  z-index: 0;
  transform: scale(1);
}

.card1:hover::before {
  background-color: rgba(255, 255, 255, 0);
  transform: scale(1.1);
}
body.dark .card1:hover::before {
  background-color: rgba(255, 255, 255, 0.6);
}
.card1.water::before {
  background-image: url("../img/AKH_8874-768x512.jpeg");
}

.card1.waste::before {
  background-image: url("../img/AKH_9801-768x512.jpeg");
}

.card1.wate::before {
  background-image: url("../img/AKH_8525-768x512.jpeg");
}

.card1.wste::before {
  background-image: url("../img/AKH_0465-768x512.jpeg");
}

.inner-border {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 30px;
  border: 2px solid #00b3e3;
  z-index: 1;
}

.content {
  position: relative;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.title {
  font-size: 32px;
  font-weight: 700;
  color: #00b3e3;
  margin-bottom: 20px;
}

.description {
  font-size: 18px;
  line-height: 1.6;
  color: black;
  transition: color 0.4s ease;
}
body.dark .description {
  color: #fff;
}
.card1:hover .description {
  color: white;
}

.container5 {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
  background-image: url(../img/shadow-background-white.png);
}
body.dark .container5 {
  background-color: #212121;
  background-image: linear-gradient(to top, #212121 0%, rgba(33, 33, 33, 0) 20%),
    linear-gradient(to bottom, #212121 0%, rgba(33, 33, 33, 0) 20%),
    linear-gradient(to left, #212121 0%, rgba(33, 33, 33, 0) 20%),
    linear-gradient(to right, #212121 0%, rgba(33, 33, 33, 0) 20%),
    url(../img/shadow-background.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.card5 {
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.card5 h3,
.card5 p {
  transition: color 0.3s ease;
}

.icon-box img {
  transition: transform 0.3s ease;
}

.card5:hover .icon-box img {
  transform: scale(1.2);
}
.card5:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background-color: #e0f7ff; /* لون سماوي عند التحويم */
}
body.dark .card5:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background-color: #0078a048; /* لون سماوي عند التحويم */
}
.card5:hover h3 {
  color: #0078a0;
}

.card5:hover p {
  color: #222;
}
h2.title {
  font-size: 50px;
  font-weight: 300;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  color: #000;
  text-transform: uppercase;
}

/* الشاشات المتوسطة (تابلت) */
@media (max-width: 991px) {
  h2.title {
    font-size: 40px;
  }
}

/* الشاشات الصغيرة (موبايل كبير) */
@media (max-width: 767px) {
  h2.title {
    font-size: 30px;
  }
}

/* الشاشات الصغيرة جدًا (موبايل صغير) */
@media (max-width: 480px) {
  h2.title {
    font-size: 24px;
  }
}

body.dark h2.title {
  color: #fff;
}

h2.title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 90px;
  height: 2px;
  background-color: #00a4e0;
}

.cards5 {
  display: flex;
  justify-content:first baseline;
  gap: 70px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cards5 a{
  text-decoration: none;
}
.card5 {
  background-color: #fff;
  border: 1px solid #00a4e0;
  border-radius: 8px;
  padding: 30px 20px 20px;
  width: 280px;
  height: 670px;
  box-sizing: border-box;
  position: relative;
}
body.dark .card5 {
  background-color: #3c3c3c83;
}
.icon-box {
  position: absolute;
  top: -30px;
  left: 20px;
  background: white;
  border: 1px solid #00a4e0;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
}
body.dark .icon-box {
  background-color: #212121;
}

.icon-box img {
  width: 50px;
  height: 50px;
}

.card5 h3 {
  margin-top: 40px;
  font-size: 30px;
  font-weight: 700;
  color: #111;
}
body.dark .card5 h3 {
  color: #fff;
}
body.dark .card5 p {
  color: #fff;
}

.card5 p {
  font-size: 21px;
  color: #444;
  line-height: 1.6;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .cards5 {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .cards5 {
    flex-direction: column;
    align-items: center;
  }
}
.container5 h2 {
  color: #121212;
}

.h2 {
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 10px;
}

.h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #00bde3;
  margin-top: 10px;
}

.h3 {
  font-size: 52px;
  font-weight: 300;
  margin-bottom: 10px;
  text-transform: uppercase;
  padding-left: 100px;
}

.h3::after {
  content: "";
  display: block;
  width: 100px;
  height: 1.5px;
  background: #00bde3;
  margin-top: 10px;
}

/* ✅ تجاوب للتابلت */
@media (max-width: 991px) {
  .h2,
  .h3 {
    font-size: 40px;
  }

  .h3 {
    padding-left: 50px;
  }

  .h2::after {
    width: 50px;
  }

  .h3::after {
    width: 80px;
  }
}

/* ✅ تجاوب للموبايل */
@media (max-width: 576px) {
  .h2,
  .h3 {
    font-size: 28px;
  }

  .h3 {
    padding-left: 20px;
  }

  .h2::after {
    width: 40px;
  }

  .h3::after {
    width: 60px;
  }
}



.swip {
  padding: 60px;
}

@media (max-width: 1024px) {
  .swip {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .swip {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .swip {
    padding: 15px;
  }
}

.footer {
  position: relative;
  width: 100%;
  padding-top: 150px;
  background: #fff;
}
body.dark .footer {
  background: #212121;
}
.footer-curve .shape-fill {
  fill: #00b4d8;
  opacity: 0.5; /* السماوي يرجع شوية */
  transition: fill 0.3s ease;
}

.footer-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-curve svg {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
}

.footer-curve .shape-fill {
  fill: #00b4d8;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1600px;
  margin: auto;
  padding: 60px 60px 40px 60px;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 0;
}

.footer-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 3px solid #00b4d8;
  padding-left: 15px;
  color: #222;
}

.footer-section p,
.footer-section a {
  color: #222;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}
body.dark .footer-section p{
  color: #fff;
}
body.dark .footer-section a {
  color: #fff;
}
body.dark .footer-section h3 {
  color: #fff;
}
.logo h1 {
  width: 140px;
  margin-bottom: 20px;
  font-family: "Times New Roman", Times, serif;
}

.certifications img {
  width: 60px;
  margin-right: 10px;
}

.social-icons i {
  font-size: 26px;
  color: #222;
  margin-right: 15px;
  cursor: pointer;
}
body.dark .social-icons i {
  color: #fff;
}

.bottom-bar {
  background-color: #00b4d8;
  color: #fff;
  text-align: left;
  padding: 15px 20px;
  position: relative;
  font-size: 14px;
}

.bottom-bar .web-design {
  position: absolute;
  right: 20px;
  bottom: 15px;
}

.scroll-up {
  position: absolute;
  right: 60px;
  top: -30px;
  width: 80px;
  height: 80px;
  background-color: #00b4d8;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.scroll-up i {
  color: #fff;
  font-size: 35px;
}

.logo1 img {
  width: 130px;
  filter: brightness(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo1 img:hover {
  filter: none;
  transform: scale(1.05);
}
body.dark .logo1 img {
  width: 130px;
  filter: brightness(0) invert(1); /* أبيض */
  transition: filter 0.3s ease, transform 0.3s ease;
}

body.dark .logo1 img:hover {
  filter: none; /* يرجع للون الأصلي */
  transform: scale(1.05);
}
.certifications img {
  width: 60px;
  margin-right: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certifications img:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px 8px rgba(0, 180, 216, 0.4); /* ضوء أزرق ناعم بدون تحديد */
  border-radius: 50%;
}

/* ✅ القاعدة العامة للفوتر كما هي */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1600px;
  margin: auto;
  padding: 60px 60px 40px 60px;
  gap: 30px;
  flex-wrap: wrap;
}

/* ✅ الفوتر في الشاشات المتوسطة: تابلت */
@media (max-width: 991px) {
  .footer-content {
    flex-direction: column;
    padding: 40px 30px;
    gap: 40px;
  }

  .footer-section {
    width: 100%;
  }

  .bottom-bar {
    text-align: center;
  }

  .bottom-bar .web-design {
    position: static;
    display: block;
    margin-top: 10px;
  }

  .scroll-up {
    right: 20px;
    top: -40px;
    width: 60px;
    height: 60px;
  }

  .scroll-up i {
    font-size: 28px;
  }
}

/* ✅ الفوتر في الشاشات الصغيرة: موبايل */
@media (max-width: 576px) {
  .footer {
    padding-top: 100px;
  }

  .footer-curve svg {
    height: 120px;
  }

  .footer-section h3 {
    font-size: 20px;
    padding-left: 10px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 14px;
  }

  .logo h1 {
    font-size: 24px;
  }

  .certifications img {
    width: 50px;
    margin-right: 8px;
  }

  .social-icons i {
    font-size: 22px;
    margin-right: 10px;
  }

  .scroll-up {
    width: 50px;
    height: 50px;
    top: -30px;
  }

  .scroll-up i {
    font-size: 24px;
  }

  .logo1 img {
    width: 100px;
  }
}

/* ====== Hero Section ====== */
/* ===== الأساسيات كما هي ===== */
.pact-hero {
  position: relative;
  background-image: url("https://www.mazepage.com/wp-content/uploads/2024/05/Rectangle-54.png");
  background-size: cover;
  background-position: center;
  border-top-right-radius: 80px;
  overflow: hidden;
}

.pact-hero::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--blue);
  border-left: none;
  border-top-right-radius: 70px;
  z-index: 0;
  pointer-events: none;
}

.pact-hero__overlay {
  background-repeat: no-repeat;
  background-blend-mode: lighten;
  background-color: rgba(255, 255, 255, 0.6);
  border-top-right-radius: 80px;
  padding: 60px 40px;
  border: 1px solid var(--blue);
  border-right: 0px;
}
body.dark .pact-hero__overlay {
  background: linear-gradient(
    0deg,
    rgba(27, 29, 31, 0.87) 0%,
    rgba(27, 29, 31, 0.87) 100%
  );
}
.pact-hero__overlay h2 {
  color: var(--blue);
  font-size: 40px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-weight: 500;
}

.pact-hero__overlay h1 {
  position: relative;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 40px;
}

.pact-hero__overlay h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 7%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background-color: var(--blue);
  border-radius: 2px;
}

.pact-hero__content-box {
  background-color: #f6f6f6;
  border: 1px solid var(--blue);
  border-right: 0px;
  border-bottom-left-radius: 80px;
  padding: 40px;
  display: flex;
  margin-right: -40px;
  margin-left: 40px;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}
body.dark .pact-hero__content-box {
  background-color: #212121;
}

.pact-hero__column {
  flex: 1 1 45%;
  min-width: 280px;
}

.pact-hero__column h3 {
  color: var(--blue);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 15px;
}

.pact-hero__column p {
  color: #121212;
  font-size: 20px;
}
body.dark .pact-hero__column p {
  color: #fff;
}

.pact-hero__button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 24px;
  background-color: var(--blue);
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 350px;
  transition: all 0.3s ease;
}

/* ============ Media Queries ============ */

/* شاشات متوسطة */
@media (max-width: 992px) {
  .pact-hero__overlay {
    padding: 40px 30px;
  }

  .pact-hero__overlay h1,
  .pact-hero__overlay h2 {
    font-size: 32px;
  }

  .pact-hero__column h3 {
    font-size: 32px;
  }

  .pact-hero__column p {
    font-size: 18px;
  }

  .pact-hero__button {
    margin-left: auto;
    display: block;
    width: fit-content;
  }
}

/* شاشات صغيرة */
@media (max-width: 768px) {
  .pact-hero__overlay {
    padding: 30px 20px;
  }

  .pact-hero__overlay h1,
  .pact-hero__overlay h2 {
    font-size: 26px;
    text-align: left;
  }

  .pact-hero__overlay h1::after {
    left: 50%;
  }

  .pact-hero__content-box {
    flex-direction: column;
    padding: 30px 20px;
    margin: 0;
    border-bottom-left-radius: 40px;
  }

  .pact-hero__column {
    flex: 1 1 100%;
  }

  .pact-hero__column h3 {
    font-size: 24px;
    text-align: left;
  }

  .pact-hero__column p {
    font-size: 16px;
    text-align: left;
  }

  .pact-hero__button {
    margin: 20px auto 0;
  }
}

/* موبايلات صغيرة جداً */
@media (max-width: 480px) {
  .pact-hero__overlay h1,
  .pact-hero__overlay h2 {
    font-size: 22px;
  }

  .pact-hero__column h3 {
    font-size: 20px;
  }

  .pact-hero__column p {
    font-size: 15px;
  }

  .pact-hero__button {
    padding: 10px 20px;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .pact-hero__content-box {
    margin-left: 20px;
    margin-right: -20px;
  }
}
.stats-section {
  background: #fff;
  padding: 80px 20px;
  position: relative;
}
body.dark .stats-section {
  background: #212121;
}
.stats-section:after {
  content: "";
  position: absolute;
  background-image: url(../img/hh.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.stats-container::before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  z-index: 0;
}

.stat {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 40px 10px;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

.stat .top {
  font-size: 28px;
  color: #999;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  top: -10px; /* رفع الرقم لفوق بشكل دائم */
  transition: all 0.4s ease-in-out;
}

.stat .bottom {
  font-size: 16px;
  color: #999;
  margin-top: 30px;
  line-height: 1.4;
  transition: all 0.4s ease-in-out;
}

.stat .dot {
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--blue);
  z-index: 2;
}

.stat:hover .top {
  color: var(--blue);
  transform: translateY(-10px) scale(1.6); /* يطلع لفوق ويكبر */
}

.stat:hover .bottom {
  color: var(--blue);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    gap: 60px;
  }

  .stats-container::before {
    display: none;
  }

  .stat .dot {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 10px auto;
  }

  .stat {
    padding: 20px 10px;
  }

  .stat .top {
    top: 0;
  }
}

.section__background {
  padding: 30px 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: lighten;
  background-color:#fff;
}

.partners__section {
  padding: 2rem 2rem;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  position: relative;
  z-index: 2;
}
body.dark .section__background {
  background-color: #212121;
  background-blend-mode: darken;
}
.partners__section h1 {
  position: relative;
  display: inline-block;
  text-align: left;
  font-size: 50px;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #121212;
  text-transform: uppercase;
}

body.dark .partners__section h1 {
  color: #fff;
}

.partners__section h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 30%;
  transform: translateX(-50%);
  width: 150px;
  height: 1px;
  background-color: var(--blue);
  border-radius: 2px;
}

/* الشاشات المتوسطة */
@media (max-width: 991px) {
  .partners__section h1 {
    font-size: 40px;
  }

  .partners__section h1::after {
    width: 120px;
  }
}

/* الشاشات الصغيرة */
@media (max-width: 767px) {
  .partners__section h1 {
    font-size: 32px;
    text-align: center;
  }

  .partners__section h1::after {
    width: 100px;
  }
}

/* الشاشات الصغيرة جدًا */
@media (max-width: 480px) {
  .partners__section h1 {
    font-size: 24px;
  }

  .partners__section h1::after {
    width: 80px;
  }
}


.partners-swiper {
  width: 100%;
  padding: 20px 0;
}

.partners-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px; /* مساحة تسمح للضوء يظهر */
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible; /* مهم للسماح بظهور الضوء */
  height: auto;
  position: relative;
  z-index: 1;
}

.partners-swiper .user-image {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.3) contrast(1.2);
  transition: filter 0.4s ease, transform 0.4s ease;
  will-change: filter, transform;
}
body.dark .partners-swiper .user-image {
  filter: grayscale(100%) brightness(1) contrast(1.2);
}
.partners-swiper .swiper-slide:hover .user-image {
  filter: none drop-shadow(0 0 20px var(--blue));
  transform: scale(1.05);
}

#partners-next,
#partners-prev {
  color: var(--blue);
}

#partners-next::after,
#partners-prev::after {
  font-size: 20px;
}

@media (max-width: 768px) {
  .partners__section h1 {
    font-size: 22px;
    text-align: center;
  }

  .partners-swiper .user-image {
    max-height: 50px;
  }
}

.section3 {
  position: relative;
  z-index: 1;
}
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7;
}
.video-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
/* الوضع الفاتح (Light mode) */
.video-fog-bottom2,
.video-fog-top2 {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0.8) 85%,
    rgba(255, 255, 255, 1) 100%
  );
  backdrop-filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

/* الوضع الداكن (Dark mode) */
body.dark .video-fog-bottom2,
body.dark .video-fog-top2 {
  background: linear-gradient(
    to bottom,
    rgba(33, 33, 33, 0) 0%,
    rgba(33, 33, 33, 0.2) 25%,
    rgba(33, 33, 33, 0.5) 60%,
    rgba(33, 33, 33, 0.8) 85%,
    rgba(33, 33, 33, 1) 100%
  );
}

.video-fog-top2 {
  top: 0;
  transform: rotate(180deg);
}
.animated-radial-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}
.animated-radial-menu .menu {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.animated-radial-menu .center-circle {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background-image: url("../img/elipse.svg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.animated-radial-menu .menu li {
  position: absolute;
  list-style: none;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.animated-radial-menu .menu li a {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1.8px solid #0ef;
  transition: transform 0.3s ease;
}
body.dark .animated-radial-menu .menu li a {
  background: #212121;
}
.animated-radial-menu .menu li a:hover {
  transform: scale(1.2);
}
.animated-radial-menu .menu li img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}


.animated-radial-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

.menu {
  position: relative;
  width: 500px;
  height: 500px;
}
.menu li {
  position: absolute;
  list-style: none;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.menu li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 2px solid #0ef;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.menu li a:hover {
  transform: scale(1.2);
}

.menu li img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

:root {
  --circle-radius: 180px;
}

.menu li:nth-child(1) { transform: rotate(0deg) translate(var(--circle-radius)) rotate(0deg); }
.menu li:nth-child(2) { transform: rotate(36deg) translate(var(--circle-radius)) rotate(-36deg); }
.menu li:nth-child(3) { transform: rotate(72deg) translate(var(--circle-radius)) rotate(-72deg); }
.menu li:nth-child(4) { transform: rotate(108deg) translate(var(--circle-radius)) rotate(-108deg); }
.menu li:nth-child(5) { transform: rotate(144deg) translate(var(--circle-radius)) rotate(-144deg); }
.menu li:nth-child(6) { transform: rotate(180deg) translate(var(--circle-radius)) rotate(-180deg); }
.menu li:nth-child(7) { transform: rotate(216deg) translate(var(--circle-radius)) rotate(-216deg); }
.menu li:nth-child(8) { transform: rotate(252deg) translate(var(--circle-radius)) rotate(-252deg); }
.menu li:nth-child(9) { transform: rotate(288deg) translate(var(--circle-radius)) rotate(-288deg); }
.menu li:nth-child(10) { transform: rotate(324deg) translate(var(--circle-radius)) rotate(-324deg); }

.info-card {
  position: absolute;
  width: 250px;
  padding: 15px;
  background: #212121;
  color: #fff;
  border: 1px solid #0ef;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none; /* عشان الماوس يفضل شغال على الدواير */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.info-card.show {
  opacity: 1;
}

.info-card h3 {
  margin-top: 0;
  color: #0ef;
  font-weight: 400;
  margin-bottom: 10px;
}

.info-card p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .menu {
    width: 300px;
    height: 300px;
  }

  .center-circle {
    width: 300px;
    height: 300px;
  }

  .menu li {
    width: 60px;
    height: 60px;
  }

  :root {
    --circle-radius: 120px;
  }

  .info-card {
    width: 200px;
    padding: 10px;
  }
}
/* توزيع الدوائر */
.menu li:nth-child(1) {
  transform: rotate(0deg) translate(180px) rotate(0deg);
}
.menu li:nth-child(2) {
  transform: rotate(36deg) translate(180px) rotate(-36deg);
}
.menu li:nth-child(3) {
  transform: rotate(72deg) translate(180px) rotate(-72deg);
}
.menu li:nth-child(4) {
  transform: rotate(108deg) translate(180px) rotate(-108deg);
}
.menu li:nth-child(5) {
  transform: rotate(144deg) translate(180px) rotate(-144deg);
}
.menu li:nth-child(6) {
  transform: rotate(180deg) translate(180px) rotate(-180deg);
}
.menu li:nth-child(7) {
  transform: rotate(216deg) translate(180px) rotate(-216deg);
}
.menu li:nth-child(8) {
  transform: rotate(252deg) translate(180px) rotate(-252deg);
}
.menu li:nth-child(9) {
  transform: rotate(288deg) translate(180px) rotate(-288deg);
}
.menu li:nth-child(10) {
  transform: rotate(324deg) translate(180px) rotate(-324deg);
}

/* كرت المعلومات */
.info-card {
  position: absolute;
  width: 250px;
  height: 200px;
  padding: 15px;
  background: #212121;
  border: 1px solid #0ef;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
  direction: ltr;
}

/* ظهور الكرت عند التحويم */
.menu li:hover .info-card {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

/* كرت جهة اليمين */
.menu li.right-card .info-card {
  left: 130%;
  top: 50%;
  text-align: left;
  transform: translateY(-50%);
}

/* كرت جهة اليسار */
.menu li.left-card .info-card {
  right: 130%;
  top: 50%;
  text-align: left;
  transform: translateY(-50%);
}

/* نصوص داخل الكرت */
.info-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 300;
  color: var(--blue);
}
.info-card p {
  font-size: 15px;
  font-weight: 200;
  color: #fff;
  margin: 0;
}

@media (max-width: 768px) {
  .animated-radial-menu {
    padding: 0 20px; /* مسافة من الجانبين */
  }

  .animated-radial-menu .menu {
    width: 90vw;
    height: 90vw;
  }

  .animated-radial-menu .center-circle {
    width: 90vw;
    height: 90vw;
    background-size: contain;
  }

  .animated-radial-menu .menu li {
    width: 60px;
    height: 60px;
  }

  .animated-radial-menu .menu li img {
    width: 90%;
    height: 90%;
  }

  /* كروت المعلومات تكون أصغر وتتحرك أقرب */
  .info-card {
    width: 180px;
    padding: 10px;
  }

  .menu li.right-card .info-card {
    left: 110%;
  }

  .menu li.left-card .info-card {
    right: 110%;
  }

  .info-card h3 {
    font-size: 16px;
  }

  .info-card p {
    font-size: 13px;
  }
  body,
  html {
    overflow-x: hidden;
  }
}
@media (max-width: 768px) {
  /* نقلل نصف القطر لتقريب الدواير بدون تراكب */
  .menu li:nth-child(1) {
    transform: rotate(0deg) translate(var(--circle-radius)) rotate(0deg);
  }
  .menu li:nth-child(2) {
    transform: rotate(36deg) translate(var(--circle-radius)) rotate(-36deg);
  }
  .menu li:nth-child(3) {
    transform: rotate(72deg) translate(var(--circle-radius)) rotate(-72deg);
  }
  .menu li:nth-child(4) {
    transform: rotate(108deg) translate(var(--circle-radius)) rotate(-108deg);
  }
  .menu li:nth-child(5) {
    transform: rotate(144deg) translate(var(--circle-radius)) rotate(-144deg);
  }
  .menu li:nth-child(6) {
    transform: rotate(180deg) translate(var(--circle-radius)) rotate(-180deg);
  }
  .menu li:nth-child(7) {
    transform: rotate(216deg) translate(var(--circle-radius)) rotate(-216deg);
  }
  .menu li:nth-child(8) {
    transform: rotate(252deg) translate(var(--circle-radius)) rotate(-252deg);
  }
  .menu li:nth-child(9) {
    transform: rotate(288deg) translate(var(--circle-radius)) rotate(-288deg);
  }
  .menu li:nth-child(10) {
    transform: rotate(324deg) translate(var(--circle-radius)) rotate(-324deg);
  }

  /* تصغير حجم الدائرة المركزية */
  .animated-radial-menu .menu,
  .animated-radial-menu .center-circle {
    width: 300px;
    height: 300px;
  }

  /* تصغير حجم الأيقونات */
  .animated-radial-menu .menu li {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 1024px) {
  :root {
    --circle-radius: 150px;
  }
}

@media (max-width: 768px) {
  :root {
    --circle-radius: 120px;
  }
}

@media (max-width: 600px) {
  :root {
    --circle-radius: 100px;
  }
}

@media (max-width: 480px) {
  :root {
    --circle-radius: 80px;
  }
}
:root {
  --circle-radius: 180px;
}

@media (max-width: 1024px) {
  :root {
    --circle-radius: 150px;
  }
}
@media (max-width: 768px) {
  :root {
    --circle-radius: 120px;
  }
}
@media (max-width: 600px) {
  :root {
    --circle-radius: 100px;
  }
}
@media (max-width: 480px) {
  :root {
    --circle-radius: 80px;
  }
}

/* توزيع الدوائر */
.menu li:nth-child(1)  { transform: rotate(0deg) translate(var(--circle-radius)) rotate(0deg); }
.menu li:nth-child(2)  { transform: rotate(36deg) translate(var(--circle-radius)) rotate(-36deg); }
.menu li:nth-child(3)  { transform: rotate(72deg) translate(var(--circle-radius)) rotate(-72deg); }
.menu li:nth-child(4)  { transform: rotate(108deg) translate(var(--circle-radius)) rotate(-108deg); }
.menu li:nth-child(5)  { transform: rotate(144deg) translate(var(--circle-radius)) rotate(-144deg); }
.menu li:nth-child(6)  { transform: rotate(180deg) translate(var(--circle-radius)) rotate(-180deg); }
.menu li:nth-child(7)  { transform: rotate(216deg) translate(var(--circle-radius)) rotate(-216deg); }
.menu li:nth-child(8)  { transform: rotate(252deg) translate(var(--circle-radius)) rotate(-252deg); }
.menu li:nth-child(9)  { transform: rotate(288deg) translate(var(--circle-radius)) rotate(-288deg); }
.menu li:nth-child(10) { transform: rotate(324deg) translate(var(--circle-radius)) rotate(-324deg); }

/* استجابة متقدمة للشاشات الصغيرة */
@media (max-width: 768px) {
  .animated-radial-menu {
    padding: 0 20px;
  }

  .animated-radial-menu .menu,
  .animated-radial-menu .center-circle {
    width: 300px;
    height: 300px;
    background-size: contain;
  }

  .animated-radial-menu .menu li {
    width: 60px;
    height: 60px;
  }

  .animated-radial-menu .menu li img {
    width: 90%;
    height: 90%;
  }

  .info-card {
    width: 180px;
    padding: 10px;
  }

  .menu li.right-card .info-card {
    left: 110%;
  }

  .menu li.left-card .info-card {
    right: 110%;
  }

  .info-card h3 {
    font-size: 16px;
  }

  .info-card p {
    font-size: 13px;
  }

  body,
  html {
    overflow-x: hidden;
  }
}
@media (max-width: 768px) {
  .video-wrapper {
    height: 80vh; /* تقليل ارتفاع الفيديو */
  }

  .animated-radial-menu {
    min-height: 80vh; /* تقليل مساحة القائمة */
  }
}
@media (max-width: 480px) {
  .video-wrapper {
    height: 70vh;
  }

  .animated-radial-menu {
    min-height: 70vh;
  }
}
@media (max-width: 768px) {
  .video-wrapper {
    height: 80vh;
  }

  #bg-video {
    height: 80vh;
  }

  .animated-radial-menu {
    min-height: 80vh;
  }
}

@media (max-width: 480px) {
  .video-wrapper {
    height: 70vh;
  }

  #bg-video {
    height: 70vh;
  }

  .animated-radial-menu {
    min-height: 70vh;
  }
}
.video-fog-bottom2,
.video-fog-top2 {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0.8) 85%,
    rgba(255, 255, 255, 1) 100%
  );
  backdrop-filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

/* الوضع الداكن */
body.dark .video-fog-bottom2,
body.dark .video-fog-top2 {
  background: linear-gradient(
    to bottom,
    rgba(33, 33, 33, 0) 0%,
    rgba(33, 33, 33, 0.2) 25%,
    rgba(33, 33, 33, 0.5) 60%,
    rgba(33, 33, 33, 0.8) 85%,
    rgba(33, 33, 33, 1) 100%
  );
}

/* تجاوب - في الشاشات الصغيرة خليه 50vh */
@media (max-width: 768px) {
  .video-fog-bottom2,
  .video-fog-top2 {
    height: 100vh;
  }
}
@media (max-width: 480px) {
 .video-fog-bottom2,
  .video-fog-top2 {
    height: 71vh;
  }
}


.contact-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: url("../img/Rectangle-136-1725x800.png") no-repeat center
    center/cover;
}

.overlay {
  position: relative;
  background-color: rgba(255, 255, 255, 0.333);
  padding: 130px;
  border-top: 1.5px solid #00a8c9;
  border-bottom: 1.5px solid #00a8c9;
  width: 100%;
  max-width: none;
  z-index: 1;
}

.partners__section2 h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 50px;
  font-weight: 500;
  color: #121212;
}
body.dark .partners__section2 h1 {
  color: #fff;
}
.partners__section2 {
  padding: 2rem 2rem;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  position: relative;
  z-index: 2;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1500px;
  margin: auto;
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.input-row input {
  flex: 1;
  padding: 10px;
  border: 1px solid #00a8c9;
  border-radius: 5px;
  font-size: 1rem;
  background: transparent;
  color: #000;
}
body.dark .input-row input {
  color: #fff;
}
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #00a8c9;
  border-radius: 5px;
  font-size: 1rem;
  resize: none;
  background: transparent;
}

.checkbox {
  font-size: 1rem;
  color: #111;
}

.checkbox a {
  color: #111;
  text-decoration: underline;
}
body.dark .checkbox {
  color: #fff;
}
body.dark .checkbox a {
  color: #fff;
}
.but {
  align-self: center;
  padding: 10px 30px;
  background-color: #00a8c9;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.but:hover {
  background-color: #007a99;
}

.navbar-wrapper {
  display: none;
  position: fixed;
  top: 70px;
  height: calc(100vh - 70px);
  left: 0;
  width: 100vw;
  backdrop-filter: blur(10px);
  z-index: 999;
  overflow-y: auto;

  overflow-y: auto;
}

.navbar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-heading {
  font-size: 20px;
  border-bottom: 2px solid white;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.nav-link,
.dropdown-toggle {
  text-decoration: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}

.nav-link:hover,
.dropdown-toggle:hover {
  color: #00d1ff;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding-left: 15px;
}

.dropdown.open .dropdown-menu {
  display: flex;
}

.dropdown-toggle::after {
  content: " ▼";
  font-size: 12px;
}

@media (max-width: 768px) {
  .navbar {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .navbar-wrapper {
    padding: 20px 10px;
  }
}

.menu-icon {
  font-size: 24px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 11000;
}

header.scrolled {
  background-color: #00aacb;
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease;
}

body.dark header.scrolled {
  background-color: #212121;
}

#name {
  position: fixed;
  background-color: #212121dc;
  color: #fff;
  width: fit-content;
  opacity: 0;
  border-radius: 10px;
  border: 3px solid #0bb2d3d7;
  padding: 30px 40px;
  font-size: 1.5rem;
}
.cc {
  padding-top: 50px;
}

svg path {
  cursor: pointer;
}
svg path:hover {
  transition: 1s;
}

.swiper {
  padding: 40px 0 80px;
}

.swiper-slide {
  background: #fff;
  border: 1px solid #00bde3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: 430px;
  height: 600px;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}
.slide-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.slide-inner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.swiper-slide:hover img,
.slide-title:hover ~ .slide-image,
.arrow-link:hover ~ .slide-image {
  transform: scale(1.05);
}

.slide-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.date {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}
body.dark .date {
  color: #fff;
}
.slide-title {
  color: #00bde3;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow-link {
  color: #00bde3;
  font-size: 30px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.arrow-link:hover {
  transform: scale(1.3);
}
.navbar {
  width: 100%;
  max-width: 1400px; /* زي الصورة */
  margin: 0 auto;
  backdrop-filter: blur(10px);
  padding: 40px 60px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* من 3 إلى 5 أعمدة */
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-heading {
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 8px;
  margin-bottom: 12px;
  color: white;
}

.nav-link {
  font-size: 15px;
  color: white;
  transition: 0.3s;
}

.nav-link:hover {
  color: #00d1ff;
  padding-left: 5px;
}

.dropdown-toggle {
  font-size: 15px;
  font-weight: 500;
  color: white;
}

.dropdown-toggle:hover {
  color: #00d1ff;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-left: 12px;
}

.dropdown.open .dropdown-menu {
  display: flex;
}

.dropdown-toggle::after {
  content: " ▼";
  font-size: 12px;
}

    /* ✅ Responsive */
    @media (max-width: 1024px) {
      .navbar {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px 40px;
        gap: 30px;
      }
    }

    @media (max-width: 768px) {
      .navbar {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 20px;
        gap: 20px;
      }
    }

    @media (max-width: 500px) {
      .navbar {
        grid-template-columns: 1fr;
        padding: 15px 15px;
        gap: 15px;
      }

      .nav-heading {
        font-size: 16px;
      }

      .nav-link,
      .dropdown-toggle {
        font-size: 14px;
        padding-bottom: 6px;
      }
    }
.nav-link,
.dropdown-toggle {
  text-decoration: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link:hover,
.dropdown-toggle:hover {
  color: #00d1ff;
}


.slide-text {
  color: #666;
  font-size: 25px;
  line-height: 1.6;
  flex-grow: 1;
}
body.dark .slide-text {
  color: #fff;
}
.view-more-btn {
  margin: 30px auto 60px;
  display: block;
  padding: 10px 20px;
  border: 1px solid #333;
  border-radius: 30px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: 0.3s;
}

.view-more-btn:hover {
  background: #00bde3;
  color: white;
  border-color: #00bde3;
}
body.dark .view-more-btn {
  margin: 30px auto 60px;
  display: block;
  padding: 10px 20px;
  border: 1.5px solid #fff;
  border-radius: 30px;
  font-size: 14px;
  background: #212121;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

body.dark .view-more-btn:hover {
  background: #fff;
  color: #00bde3;
  border-color: #00bde3;
}








.from-top, .from-bottom, .from-left, .from-right {
  opacity: 0;
  transition: all 0.8s ease-in-out;
}

.from-top {
  transform: translateY(-80px);
}

.from-bottom {
  transform: translateY(80px);
}

.from-left {
  transform: translateX(-80px);
}

.from-right {
  transform: translateX(80px);
}

.show {
  opacity: 1;
  transform: translate(0, 0);
}




.image-fog-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.image-fog-wrapper img {
  display: block;
  width: 700px;
  height: 500px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.why-chosse-pact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

/* الشاشات المتوسطة */
@media (max-width: 992px) {
  .image-fog-wrapper img {
    width: 90%;
    height: auto;
  }

  .why-chosse-pact {
    gap: 40px;
    flex-wrap: wrap;
  }
}

/* الشاشات الصغيرة جدًا */
@media (max-width: 600px) {
  .image-fog-wrapper img {
    width: 100%;
    height: auto;
  }

  .why-chosse-pact {
    flex-direction: column;
    gap: 30px;
  }
}






